﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="GNSWebSite.Pages.Login"
    MasterPageFile="~/MasterPages/Main.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphMainContent" runat="server">
    <asp:Login ID="lgGNS" runat="server" DestinationPageUrl="../Pages/Default.aspx">
        <LayoutTemplate>
            <table border="0" cellpadding="1" cellspacing="0" 
                style="border-collapse:collapse;">
                <tr>
                    <td>
                        <table border="0" cellpadding="0">
                            <tr>
                                <td align="center" colspan="2">
                                    <asp:Localize ID="locLogIn" runat="server" meta:resourcekey="locLogIn"></asp:Localize></td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblUserName" runat="server" AssociatedControlID="UserName" meta:resourcekey="lblUserName">
                                    </asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="UserName" runat="server" Width="128px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                        ControlToValidate="UserName" ValidationGroup="lgGNS" 
                                        meta:resourcekey="UserNameRequired">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblPassword" runat="server" AssociatedControlID="Password" meta:resourcekey="lblPassword"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="Password" runat="server" TextMode="Password" Width="128px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                        ControlToValidate="Password" ValidationGroup="lgGNS" 
                                        meta:resourcekey="PasswordRequired">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:CheckBox ID="RememberMe" runat="server"  meta:resourcekey="RememberMe"/>
                                </td>
                            </tr>
                            <tr>
                                <!--<td align="center" colspan="2" style="color:Red;">
                                    <asp:Literal ID="FailureText" runat="server" EnableViewState="False" meta:resourcekey="FailureText"></asp:Literal>
                                </td>-->
                            </tr>
                            <tr>
                                <td align="right" colspan="2">
                                    <asp:Button ID="LoginButton" runat="server" CommandName="Login" meta:resourcekey="LoginButton"  
                                        ValidationGroup="lgGNS" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </LayoutTemplate>
    </asp:Login>
    <ul id="nav">
    <li><asp:HyperLink ID="hlRegister"  NavigateUrl="~/Pages/Register.aspx" runat="server" 
    meta:resourcekey="hlRegister"></asp:HyperLink></li>
    <li><asp:HyperLink ID="hlRecoverPassword"  NavigateUrl="~/Pages/RecoverPassword.aspx" 
    runat="server" meta:resourcekey="hlRecoverPassword"></asp:HyperLink></li>
    </ul>
</asp:Content>
